package work.mediway.mdm.biz.mapper.patient;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

import work.mediway.mdm.biz.vo.patient.PatientMergeLogListVO;
import work.mediway.mdm.biz.dto.patient.PatientMergeDTO;
import work.mediway.mdm.biz.entity.patient.PaMergePatientLog;

/**
 * @author zhongyj <1126834403@qq.com><br/>
 * @date 2020/12/22
 */
@Mapper
public interface PaMergePatientLogMapper extends BaseMapper<PaMergePatientLog> {
    /**
     * 查询合并患者列表
     *
     * @param page     Page<PatientMergeListVO>
     * @param mergeDTO PatientMergeDTO
     * @return List<PatientMergeListVO>
     */
    List<PatientMergeLogListVO> pageMergePatientLog(@Param("page") Page<PatientMergeLogListVO> page, @Param("merge") PatientMergeDTO mergeDTO);

    /**
     * 查询合并患者列表
     *
     * @param page     Page<PatientMergeLogListVO>
     * @param mergeDTO PatientMergeDTO
     * @return List<PatientMergeLogListVO>
     */
    List<PatientMergeLogListVO> pageMergePatientList(@Param("page") Page<PatientMergeLogListVO> page, @Param("merge") PatientMergeDTO mergeDTO);
}